package Interface;

public class SubAdapter implements SubInterface {

    @Override
    public void absM1() {
        System.out.println("absM1");
    }

    @Override
    public void absM2() {
        System.out.println("absM2");

    }

    public static void main(String[] args) {
        SubAdapter s = new SubAdapter();
        s.absM1();
        s.absM2();
    }
}